package com.prothink.service.impl;


import com.prothink.dao.ProductLikeDateDao;
import com.prothink.entity.ProductLikeDate;
import com.prothink.service.ProductLikeDateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductLikeDateServiceMpl implements ProductLikeDateService {
    @Autowired
    private ProductLikeDateDao getProductLikeDate;


    @Override
    public List getProductLikeDate(ProductLikeDate productLikeDate) {
        return getProductLikeDate.getProductLikeDate(productLikeDate);
    }

    @Override
    public Integer addProductLikeDate(ProductLikeDate productLikeDate) {
        return getProductLikeDate.addProductLikeDate(productLikeDate);
    }
}
